home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 December / MACPOWER-1997-12.ISO.7z / MACPOWER-1997-12.ISO / AMUG / PROGRAMMING / Raven 1.2 Examples.sit / Raven 1.2 Examples / Quill / Source / ListBoxProxy.h < prev    next >
Text File  |  1997-01-22  |  1KB  |  47 lines

  1. /*
  2.  *    File:        ListBoxProxy.h
  3.  *    Function:    Proxy for TListBox subclasses.
  4.  *    Written by:    Jesse Jones
  5.  *
  6.  *  Copyright ゥ 1997 Jesse Jones. 
  7.  *    For conditions of distribution and use, see copyright notice in ZTypes.h  
  8.  *
  9.  *    Change History (most recent first):
  10.  *
  11.  *         <->     1/22/97    JDJ        Created
  12.  */
  13.  
  14. #pragma once
  15.  
  16. #include <ZListBox.h>
  17.  
  18.  
  19. // ===================================================================================
  20. //    class CListBoxProxy
  21. // ===================================================================================
  22. class CListBoxProxy : public TListBox<int> {
  23.     
  24.     typedef TListBox<int> Inherited;
  25.     
  26. //-----------------------------------
  27. //    Initialization/Destruction
  28. //
  29. public:
  30.     virtual               ~CListBoxProxy();
  31.     
  32.                         CListBoxProxy(const string& name, TView* superView, const TRect& frame, MCommander* super);
  33.     
  34. //-----------------------------------
  35. //    Inherited API
  36. //
  37. public:
  38.     virtual void        OnDrawCell(TCanvas& canvas, const TRect& cellBounds, const int& item, bool isSelected);
  39.  
  40. //-----------------------------------
  41. //    TReanimator Support
  42. //
  43. public:
  44.     static     MReanimatable* Create(MReanimatable* parent);
  45. };
  46.  
  47.